package com.abel.quiz.dao;

import com.abel.quiz.dao.BaseDao;
import com.abel.quiz.po.RelRoleResourcePo;
import com.abel.quiz.po.RelRoleResourcePoCriteria;
import java.util.List;

import org.apache.ibatis.annotations.Param;

/**
* @author abel.lin
* @date_time 2017-08-04 13:57
* @description
*/
public interface RelRoleResourcePoDao extends BaseDao<RelRoleResourcePo, RelRoleResourcePoCriteria>{

    int countByExample(RelRoleResourcePoCriteria example);
    
    int deleteByExample(RelRoleResourcePoCriteria example);
    
    int deleteByPrimaryKey(String id);
    
    int insert(RelRoleResourcePo record);
    
    int insertSelective(RelRoleResourcePo record);
    
    List<RelRoleResourcePo> selectByExample(RelRoleResourcePoCriteria example);

    RelRoleResourcePo selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") RelRoleResourcePo record, @Param("example") RelRoleResourcePoCriteria example);

    int updateByExample(@Param("record") RelRoleResourcePo record, @Param("example") RelRoleResourcePoCriteria example);

    int updateByPrimaryKeySelective(RelRoleResourcePo record);

    int updateByPrimaryKey(RelRoleResourcePo record);
}